package com.ruoyi.logisticsaddress.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 配置地址对象 logisticsaddress
 * 
 * @author sqlstudent
 * @date 2025-06-20
 */
public class Logisticsaddress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long addressId;

    /** 关联的物流单号 */
    @Excel(name = "关联的物流单号")
    private String logisticsId;

    /** 地址类型 */
    @Excel(name = "地址类型")
    private String addressType;

    /** 联系人姓名 */
    @Excel(name = "联系人姓名")
    private String contactName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactPhone;

    /** 省份 */
    @Excel(name = "省份")
    private String province;

    /** 城市 */
    @Excel(name = "城市")
    private String city;

    /** 区县 */
    @Excel(name = "区县")
    private String district;

    /** 详细街道地址 */
    @Excel(name = "详细街道地址")
    private String detailAddress;

    /** 当前所在地址(动态更新) */
    @Excel(name = "当前所在地址(动态更新)")
    private String currentLocation;

    /** 当前位置纬度 */
    @Excel(name = "当前位置纬度")
    private BigDecimal currentLatitude;

    /** 当前位置经度 */
    @Excel(name = "当前位置经度")
    private BigDecimal currentLongitude;

    /** 发货地纬度(仅寄件地址需要) */
    @Excel(name = "发货地纬度(仅寄件地址需要)")
    private BigDecimal senderLatitude;

    /** 发货地经度(仅寄件地址需要) */
    @Excel(name = "发货地经度(仅寄件地址需要)")
    private BigDecimal senderLongitude;

    public void setAddressId(Long addressId) 
    {
        this.addressId = addressId;
    }

    public Long getAddressId() 
    {
        return addressId;
    }

    public void setLogisticsId(String logisticsId) 
    {
        this.logisticsId = logisticsId;
    }

    public String getLogisticsId() 
    {
        return logisticsId;
    }

    public void setAddressType(String addressType) 
    {
        this.addressType = addressType;
    }

    public String getAddressType() 
    {
        return addressType;
    }

    public void setContactName(String contactName) 
    {
        this.contactName = contactName;
    }

    public String getContactName() 
    {
        return contactName;
    }

    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }

    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }

    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }

    public void setDistrict(String district) 
    {
        this.district = district;
    }

    public String getDistrict() 
    {
        return district;
    }

    public void setDetailAddress(String detailAddress) 
    {
        this.detailAddress = detailAddress;
    }

    public String getDetailAddress() 
    {
        return detailAddress;
    }

    public void setCurrentLocation(String currentLocation) 
    {
        this.currentLocation = currentLocation;
    }

    public String getCurrentLocation() 
    {
        return currentLocation;
    }

    public void setCurrentLatitude(BigDecimal currentLatitude) 
    {
        this.currentLatitude = currentLatitude;
    }

    public BigDecimal getCurrentLatitude() 
    {
        return currentLatitude;
    }

    public void setCurrentLongitude(BigDecimal currentLongitude) 
    {
        this.currentLongitude = currentLongitude;
    }

    public BigDecimal getCurrentLongitude() 
    {
        return currentLongitude;
    }

    public void setSenderLatitude(BigDecimal senderLatitude) 
    {
        this.senderLatitude = senderLatitude;
    }

    public BigDecimal getSenderLatitude() 
    {
        return senderLatitude;
    }

    public void setSenderLongitude(BigDecimal senderLongitude) 
    {
        this.senderLongitude = senderLongitude;
    }

    public BigDecimal getSenderLongitude() 
    {
        return senderLongitude;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("addressId", getAddressId())
            .append("logisticsId", getLogisticsId())
            .append("addressType", getAddressType())
            .append("contactName", getContactName())
            .append("contactPhone", getContactPhone())
            .append("province", getProvince())
            .append("city", getCity())
            .append("district", getDistrict())
            .append("detailAddress", getDetailAddress())
            .append("currentLocation", getCurrentLocation())
            .append("currentLatitude", getCurrentLatitude())
            .append("currentLongitude", getCurrentLongitude())
            .append("senderLatitude", getSenderLatitude())
            .append("senderLongitude", getSenderLongitude())
            .toString();
    }
}
